﻿@model IEnumerable<PTUDW_CNTN2010_F_CDT.Models.Product>

@{
    ViewBag.Title = "ListProduct";
}

<h2>product</h2>
<hr style="height:5px; background:#ff6a00">

@foreach (var item in Model) {
    <div class="pro span-5 " style="background:none">
        <img src="@Html.DisplayFor(modelItem => item.ImageUrl)" alt="anh minh hoa"/>
        <br /><br />
        <a href="#">@Html.DisplayFor(modelItem => item.ProductName)</a>
        <br />
        <span>@Html.DisplayFor(modelItem => item.Price)</span>
        <div class="car">@Html.ActionLink("Cart", "AddToCart", 
        "ShoppingCart", new { id = item.ProductId }, "")</div>
        <a href="#"><div class="button">Xem 3D</div></a>
    </div>
   
}